import 'package:scoped_model/scoped_model.dart';

class GlobalModel extends Model {
  String userId = '';
  String userName = '';

  void setId(String userId) {
    this.userId = userId;
    notifyListeners();
  }
  GlobalModel of(context) => ScopedModel.of<GlobalModel>(context);
}